package com.ruoyi.unit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位审核对象 ic_unit
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
public class IcUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitIngc;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String unitAddress;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String workPhone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 状态(0待审核 1已通过 2未通过) */
    @Excel(name = "状态(0待审核 1已通过 2未通过)")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUnitIngc(String unitIngc) 
    {
        this.unitIngc = unitIngc;
    }

    public String getUnitIngc() 
    {
        return unitIngc;
    }
    public void setUnitAddress(String unitAddress) 
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress() 
    {
        return unitAddress;
    }
    public void setWorkPhone(String workPhone) 
    {
        this.workPhone = workPhone;
    }

    public String getWorkPhone() 
    {
        return workPhone;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("unitIngc", getUnitIngc())
            .append("unitAddress", getUnitAddress())
            .append("workPhone", getWorkPhone())
            .append("creationTime", getCreationTime())
            .append("modifyTime", getModifyTime())
            .append("state", getState())
            .toString();
    }
}
